
<link rel="stylesheet" href="../addons/jy_sns/custom/templates/mobile/images/common.css" />
<div class='fui-page fui-page-current  fui-page-current user-info-page'>
  
	<div class="fui-content" style="background:#fff">
              <div class="user-info"><span class="nickname">&nbsp </span></div>
			  <div class="user-info"><span class="nickname">&nbsp </span></div>
			 <div class="user-bg">
               
                 <img src="{{pagedata.member.avatar}}" class="head" />
                 
             </div>
        <div class="user-info">
            <span class="nickname">{{pagedata.member.nickname}}</span>
            <span class="label">
                <span class="level-label fui-label fui-label-default level-label" style="background:{{pagedata.level.bg}};color:{{pagedata.level.color}}}">{{pagedata.level.levelname}}</span>
            </span>
            <span class="post">
                话题数: {{pagedata.postscount}} 关注数: {{pagedata.followcount}} <br/>
                社区积分: {{pagedata.member.sns_credit}}
               
            </span>
            <span class="sign">
               <i class="icon icon-we" ></i>
               
                <span ng-if="pagedata.member.sns_sign=='' || pagedata.member.sns_sign==null" class="sign-content">这个家伙什么也没留下~~</span>

                <span ng-if="pagedata.member.sns_sign!='' && pagedata.member.sns_sign!=null" class="sign-content">{{pagedata.member.sns_sign}}</span>

                
                <a ng-if="pagedata.mid==pagedata.mymid" href="#" onclick="$('#edit-sign').show();"><i class="icon icon-edit2"></i></a>
               

            </span>
        </div>
        
        <div ng-if="pagedata.boardcount>0" class="user-history">

            <div class="fui-line" style="text-align: center;" >
                <div ng-if="pagedata.mid==pagedata.mymid" class="fui-list-inner"  style="margin:auto;display: inline;background:#fafafa;padding:0 .2rem;">我的版块</div>
				<div ng-if="pagedata.mid!=pagedata.mymid" class="fui-list-inner"  style="margin:auto;display: inline;background:#fafafa;padding:0 .2rem;">TA的版块</div>
            </div>
            <div class="boards" >               
                    <a ng-repeat="(k,v) in pagedata.boards" class="board-item" ng-click="access_json('/board.index//id='+v.id)" data-nocache="true">
                       <img src="{{tomedia(v.logo)}}"/>
                        <div class="text">{{v.title}}</div>
                    </a>
              
            </div>
             <div class="user-info"><span class="nickname">&nbsp </span></div>
            <a ng-if="pagedata.boardcount>5" class="post-more" ng-click="access_json('/user.boards//id='+pagedata.member.id)" style="padding:.5rem 0"  data-nocache="true">查看更多</a>           
        </div>
        <div ng-if="pagedata.postscount>0" class="user-history" style="padding-bottom:3rem">
            <div class="fui-line" style="text-align: center;" >
                <div ng-if="pagedata.mid==pagedata.mymid"  class="fui-list-inner"  style="margin:auto;display: inline;background:#fafafa;padding:0 .2rem;">我的话题</div>
				<div ng-if="pagedata.mid!=pagedata.mymid"  class="fui-list-inner"  style="margin:auto;display: inline;background:#fafafa;padding:0 .2rem;">TA的话题</div>
            </div>
            <div ng-include="sys_html('_list')"></div>
        </div>
        <div ng-if="pegdata.replyscount>0 && pagedata.mid==pagedata.mymid" class="user-history">

            <div class="fui-line" style="text-align: center;" >
                <div class="fui-list-inner"  style="margin:auto;display: inline;background:#fafafa;padding:0 .2rem;">我的回复(仅本人可见)</div>
            </div>
            <div class="fui-list-group">
               
                <a ng-repeat="value in pagedata.replys" class="fui-list" ng-click="access_json('/post.index//id='+value.parentid)"   data-nocache="true">
                    <div class="fui-list-inner">
                         <div class="subtitle">回复{{value.parentnickname}}: {{value.content}}</div>
                        <div class='text'>话题: {{value.parenttitle}}</div>
                    </div>
                </a>              
            </div>         
            <a  ng-if="pegdata.replyscount>=3 class="post-more" ng-click="access_json('/user.replys/')" style="padding:.5rem 0" >查看更多</a>            
        </div>
        </div>
    </div>
</div>


<div class="fui-message fui-message-popup" style="display: none;" id="edit-sign">

    <div class="fui-header">
        <div class="fui-header-left">
            <a href="#" onclick="$('#edit-sign').hide();">取消</a>
        </div>
        <div class="title" style="font-size:.8rem;;line-height:1.2rem;">设置签名</div>
        <div class="fui-header-right" id="btnSend">提交</div>
	</div>
    <div class="fui-content">
        <div class="fui-cell-group" style="margin-top:0;">
            <div class="fui-cell">
                <div class="fui-cell-info">
                    <textarea placeholder="内容 60个字以内" rows="8" id="content">{{pagedata.member.sns_sign}}</textarea>
                </div>
            </div>
        </div>
    </div>

</div>

<div ng-include="sys_html('_menu')"></div>

<script>
scope.tool.get_list('jy_sns/index/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_sns/index/getlist/');
}
</script>